import React, { useEffect, useState } from 'react'
import { Card, Form, Radio, Col, Checkbox, Row, Table, Button } from 'antd';

import YhqxglApi from '../../../../../../utils/apis/YhqxglApi'

export default function Gengai(props) {
    const { userID,setValue } = props
    useEffect(() => {
        //console.log("@@@")
    }, [])
    
    const onChange = (e) => {
        //console.log('radio checked', e);
        setValue(e);
    };

    return (
        <div>
            <Checkbox.Group
                style={{

                }}
                onChange={onChange}
                
            >
                <Row>
                    <Col span={8}>
                        <Checkbox  value="A_jcyj">监测预警</Checkbox>
                    </Col>
                    <Col span={8}>
                        <Checkbox value="B_sfxzqx">是否限制区县</Checkbox>
                    </Col>
                    <Col span={8}>
                        <Checkbox value="C_pczl">排查治理</Checkbox>
                    </Col>
                    <Col span={8}>
                        <Checkbox value="D_sp">审批</Checkbox>
                    </Col>
                    <Col span={8}>
                        <Checkbox value="E_dczl">调查管理</Checkbox>
                    </Col>
                    <Col span={8}>
                        <Checkbox value="F_zqzb">灾情直报</Checkbox>
                    </Col>
                </Row>
            </Checkbox.Group>

        </div>
    )
}
